Rename the commands inside the hotplug scripts to match those used by hotplug
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Fri, 11 Nov 2005 17:01:44 +0000 (18:01 +0100)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Fri, 11 Nov 2005 17:01:44 +0000 (18:01 +0100)
commitc0efb8dc852805fd4d3c2691aca1f6c52f6b6ac7
tree53f1c1a15f1465af4c10d911d827db2506c7345e
parent65052bf1d89f80ad1df862fc2b56d463fa47dbc5
Rename the commands inside the hotplug scripts to match those used by hotplug
and udev.  Pass all commands through from xen-backend.agent or
xen-backend.rules rather than second-guessing the individual scripts.  This
should make it easier to tear down devices cleanly, especially the dangling
vifs we are seeing at the moment.

Cope with a missing type node inside the block script, as we don't want to
resurrect a removed node by writing a hotplug error message.

Log failure of iptables command.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/examples/block
tools/examples/block-common.sh
tools/examples/vif-bridge
tools/examples/vif-common.sh
tools/examples/vif-nat
tools/examples/vif-route
tools/examples/xen-backend.agent
tools/examples/xen-backend.rules